﻿<ribbon:RibbonWindow x:Class="Main"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
		Title="ATS 2.1"
		x:Name="Main"
		Width="640" Height="480"
					 WindowStartupLocation="CenterScreen" Icon="../../images/Main/keys.png">

    <Grid>
        <DockPanel>
            <ribbon:Ribbon x:Name="Ribbon" Grid.Row="0" Title="ATS 2.10" DockPanel.Dock="Top">
                <ribbon:Ribbon.ApplicationMenu>
                    <ribbon:RibbonApplicationMenu SmallImageSource="../../images/Main/Book-phones-64.png">
                        <ribbon:RibbonApplicationMenuItem Header="Hello _Ribbon"
													  x:Name="MenuItem1"
													  ImageSource="../../images/LargeIcon.png"/>
                    </ribbon:RibbonApplicationMenu>
                </ribbon:Ribbon.ApplicationMenu>
                <ribbon:Ribbon.QuickAccessToolBar>
                    <ribbon:RibbonQuickAccessToolBar>
                        <ribbon:RibbonButton x:Name="ButtonQATReports"
							 SmallImageSource="../../images/main/printer-64.png"
							 Label="Reports"
                                         ToolTip="Reports"/>
                        <ribbon:RibbonButton x:Name="ButtonOptions"
							 SmallImageSource="../../images/main/checklist-64.png"
							 Label="Options"
                                         ToolTip="Options"/>
                    </ribbon:RibbonQuickAccessToolBar>
                </ribbon:Ribbon.QuickAccessToolBar>


                <ribbon:RibbonTab x:Name="HomeTab"
							  
							  Header="Home">
                    <ribbon:RibbonGroup x:Name="Open"
									Header="Open">
                        <ribbon:RibbonButton x:Name="ButtonAssets"
										 LargeImageSource="../../images/main/items.png"
										 Label="Assets" />
                        <ribbon:RibbonButton x:Name="ButtonCategories"
										 LargeImageSource="../../images/main/clipboard-10570.png"
										 Label="Categories" />
                        <ribbon:RibbonButton x:Name="ButtonLocations"
										 LargeImageSource="../../images/main/location.png"
										 Label="Locations" />
                        <ribbon:RibbonButton x:Name="ButtonPersons"
										 LargeImageSource="../../images/main/personal.png"
										 Label="Persons" />
                        <ribbon:RibbonButton x:Name="ButtonDepartments"
										 LargeImageSource="../../images/main/Office-Pencil-Pot-64.png"
										 Label="Departments" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="Refresh" Header="Actions">
                        <ribbon:RibbonButton x:Name="ButtonRefresh"
										 LargeImageSource="../../images/actions/Refresh-64.png"
										 Label="Refresh" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="ActiveWindows" Header="Active Windows" ItemsSource="{Binding ElementName=Main, Path=oWindowList}">
                        <ribbon:RibbonGroup.ItemTemplate>
                            <DataTemplate >
                                <ribbon:RibbonButton  Label="{Binding Path=WindowName}" Tag="{Binding Path=WindowID}" LargeImageSource="{Binding Path=WindowImage}" x:Name="WindowName"  Click="RibbonButtonActiveWindow_Click"   />
                            </DataTemplate>
                        </ribbon:RibbonGroup.ItemTemplate>
                    </ribbon:RibbonGroup>

                </ribbon:RibbonTab>
                <ribbon:RibbonTab x:Name="ReaderTab"
							  
							  Header="Reader">
                    <ribbon:RibbonGroup x:Name="ReaderSynch"
									Header="Synch">
                        <ribbon:RibbonButton x:Name="ButtonSynch"
										 LargeImageSource="../../images/main/connectestablished-35258.png"
										 Label="Reader" />

                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="RefreshReader" Header="Actions">
                        <ribbon:RibbonButton x:Name="ButtonRefreshReader"
										 LargeImageSource="../../images/actions/Refresh-64.png"
										 Label="Refresh" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="ActiveWindowsReader" Header="Active Windows" ItemsSource="{Binding ElementName=Main, Path=oWindowList}">
                        <ribbon:RibbonGroup.ItemTemplate>
                            <DataTemplate >
                                <ribbon:RibbonButton  Label="{Binding Path=WindowName}" Tag="{Binding Path=WindowID}" LargeImageSource="{Binding Path=WindowImage}" x:Name="WindowName"  Click="RibbonButtonActiveWindow_Click"   />
                            </DataTemplate>
                        </ribbon:RibbonGroup.ItemTemplate>
                    </ribbon:RibbonGroup>

                </ribbon:RibbonTab>
                <ribbon:RibbonTab x:Name="LedgerTab"							  
							  Header="Subsidiary Ledger">
                    <ribbon:RibbonGroup x:Name="Ledger"
									Header="Ledger">
                        <ribbon:RibbonButton x:Name="ButtonLedgerDepartment"
										 LargeImageSource="../../images/main/Office-Pencil-Pot-64.png"
										 Label="Department" />
                        <ribbon:RibbonButton x:Name="ButtonLedgerLocation"
										 LargeImageSource="../../images/main/location.png"
										 Label="Location" />
                        <ribbon:RibbonButton x:Name="ButtonLedgerClassification"
										 LargeImageSource="../../images/main/assetclassification.png"
										 Label="Classification" />
                        <ribbon:RibbonButton x:Name="ButtonLedgerLeased"
										 LargeImageSource="../../images/main/leasedasset.png"
										 Label="Leased" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="LedgerRefresh" Header="Actions">
                        <ribbon:RibbonButton x:Name="ButtonLedgerRefresh"
										 LargeImageSource="../../images/actions/Refresh-64.png"
										 Label="Refresh" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="LedgerActiveWindows" Header="Active Windows" ItemsSource="{Binding ElementName=Main, Path=oWindowList}">
                        <ribbon:RibbonGroup.ItemTemplate>
                            <DataTemplate >
                                <ribbon:RibbonButton  Label="{Binding Path=WindowName}" Tag="{Binding Path=WindowID}" LargeImageSource="{Binding Path=WindowImage}" x:Name="WindowName"  Click="RibbonButtonActiveWindow_Click"   />
                            </DataTemplate>
                        </ribbon:RibbonGroup.ItemTemplate>
                    </ribbon:RibbonGroup>
                </ribbon:RibbonTab>
                <ribbon:RibbonTab x:Name="ReportsTab"
                                  Header="Reports">
                    <ribbon:RibbonGroup x:Name="Reports"
									Header="Reports">
                        <ribbon:RibbonButton x:Name="ButtonReports"
										 LargeImageSource="../../images/main/printer-64.png"
										 Label="Reports" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="RefreshReports" Header="Actions">
                        <ribbon:RibbonButton x:Name="ButtonRefreshReports"
										 LargeImageSource="../../images/actions/Refresh-64.png"
										 Label="Refresh" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="ActiveWindowsReports" Header="Active Windows" ItemsSource="{Binding ElementName=Main, Path=oWindowList}">
                        <ribbon:RibbonGroup.ItemTemplate>
                            <DataTemplate >
                                <ribbon:RibbonButton  Label="{Binding Path=WindowName}" Tag="{Binding Path=WindowID}" LargeImageSource="{Binding Path=WindowImage}" x:Name="WindowName"  Click="RibbonButtonActiveWindow_Click"   />
                            </DataTemplate>
                        </ribbon:RibbonGroup.ItemTemplate>
                    </ribbon:RibbonGroup>
                </ribbon:RibbonTab>
                <ribbon:RibbonTab x:Name="AdministrationTab"
							  
							  Header="Administration">
                    <ribbon:RibbonGroup x:Name="GeneralSettings"
									Header="General Settings">
                        <ribbon:RibbonButton x:Name="buttonAccountPolicies"
										 LargeImageSource="../../images/main/settings-3597.png"
										 Label="Account Policies" />
                        <ribbon:RibbonButton x:Name="buttonReaderSettings"
										 LargeImageSource="../../images/main/settings-2770.png"
										 Label="Reader Settings" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="Accounts"
									Header="Accounts">
                        <ribbon:RibbonButton x:Name="buttonAccounts"
										 LargeImageSource="../../images/main/contact.png"
										 Label="Users" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="adminReports"
									Header="Reports">
                        <ribbon:RibbonButton x:Name="buttonAdminReports"
										 LargeImageSource="../../images/main/printer-64.png"
										 Label="Report" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="RefreshAdmin" Header="Actions">
                        <ribbon:RibbonButton x:Name="ButtonRefreshAdmins"
										 LargeImageSource="../../images/actions/Refresh-64.png"
										 Label="Refresh" />
                    </ribbon:RibbonGroup>
                    <ribbon:RibbonGroup x:Name="ActiveWindowsAdmin" Header="Active Windows" ItemsSource="{Binding ElementName=Main, Path=oWindowList}">
                        <ribbon:RibbonGroup.ItemTemplate>
                            <DataTemplate >
                                <ribbon:RibbonButton  Label="{Binding Path=WindowName}" Tag="{Binding Path=WindowID}" LargeImageSource="{Binding Path=WindowImage}" x:Name="WindowName"  Click="RibbonButtonActiveWindow_Click"   />
                            </DataTemplate>
                        </ribbon:RibbonGroup.ItemTemplate>
                    </ribbon:RibbonGroup>
                </ribbon:RibbonTab>

            </ribbon:Ribbon>
            <Grid Name="MainGrid" Background="WhiteSmoke">
                <Grid.RowDefinitions>
                    <RowDefinition Height="500*"></RowDefinition>
                    <RowDefinition Height="auto"></RowDefinition>
                </Grid.RowDefinitions>
                <Border Name="mask" Background="White" CornerRadius="7"/>
                <Grid Grid.Row="0" Name="GridViewContent">
                </Grid>
                <ToolBar Grid.Row="1">
                    <Label Name="labelUser" >test</Label>
                </ToolBar>
            </Grid>
        </DockPanel>
    </Grid>
</ribbon:RibbonWindow>

    